package chapter7.No7_7_线程异常处理的传递;

/**
 * Created by Administrator on 2016/12/8.
 */
public class MyThreadGroup extends ThreadGroup {
    public MyThreadGroup(String name) {
        super(name);
    }

    @Override
    public void uncaughtException(Thread t, Throwable e) {
//        super.uncaughtException(t,e);
        System.out.println("线程组的异常处理");
        e.printStackTrace();
    }
}
